Continuous EEG and EMG monitoring, with derived variables